let localURL = new URL(this.location.href)
let keyword = localURL.searchParams.get('k')
// 搜索
$(function() {
  // 获取关键词
  if (keyword !== undefined) {
    $('.input-search').val(keyword)
  }
  $('#btnQuery').click(function() {
    let k = $('#inputSearch').val()
    let portal_url = VUE_APP_CLIENT_PORTAL_URL
    window.open(`/learing-list.html?k=${k}`, '_blank')
  })
})
